<%@ page language="java" import="java.util.*" pageEncoding="utf-8"
	isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/select-ui.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/editor/kindeditor.js"></script>

<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>
  
<script type="text/javascript">
$(document).ready(function(e){
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>
<style type="text/css">
	label{
		font-size:13;
	}
</style>
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><e>首页</e></li>
    <li><e>订单管理</e></li>
    <li><e>订单列表</e></li>
    <li><e>查看详情</e></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
    <div class="itab">
  	<ul> 
    <li><a href="#tab1" class="selected" style="font-size:15">订单详情</a></li> 
    
  	</ul>
    </div> 
    
  	<div id="tab1" class="tabson">
    <c:forEach items="${lists}" var="data">
    <ul class="forminfo">
    <li><label>头像</label><img src="${data.photo}" height="60px;" width="60px;"></li>
    <li><label>昵称</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.username}" style="font-size:13"/></li>
    <li><label>手机号</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.mobile}" style="font-size:13"/></li>
    <li><label>预约时间</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.server_time}" style="font-size:13"/> 合计：${data.hours}小时</li>
    <li><label>预约人昵称</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.by_username}" style="font-size:13"/></li>
    <li><label>预约人手机</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.by_mobile}" style="font-size:13"/></li>
    <li><label>服务地点</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.server_address}" style="font-size:13"/></li>
    <li><label>服务类型</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.server_type}" style="font-size:13"/></li>
    <li><label>服务子类型</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.server_sub_type}" style="font-size:13"/></li>
    <li><label>服务详细说明</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.details}" style="font-size:13"/></li>
    <li><label>服务金额</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="￥${data.reality_price}" style="font-size:13"/></li>
    <li><label>订单状态</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.status}" style="font-size:13"/></li>
    <li><label>订单编号</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.order_id}" style="font-size:13"/></li>
    <li><label>提交时间</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.create_time}" style="font-size:13"/></li>
    <c:if test="${data.create_times != NULL}">
    	<li><label>评价时间</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.create_times}" style="font-size:13"/></li>
    	<li><label>评价星级</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.star_level}颗星" style="font-size:13"/></li>
    	<li><label>打赏金额</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.give_reward}元" style="font-size:13"/></li>
    	<li><label>评价内容</label><input name="background" type="text" class="dfinput"  readonly ="readonly" value="${data.content}" style="font-size:13"/></li>
    </c:if>
    </ul>
    </c:forEach>
    <div style="margin-left:180px;"><input name="fanhui" type="button" value="返回" style="width:96px; height:35px; line-height:35px; color:#fff; background:red; font-size:14px; font-weight:bold;border-radius: 3px; cursor:pointer;"/>
    </div> 
  </div>
  	<script type="text/javascript">
   		$(document).ready(function(){
   			$("input[name=fanhui]").click(function(){
   				if('${enter}'!=null &&'${enter}'!=''&&'${enter}'=='enter'){
   		   			window.location.href="<%=request.getContextPath()%>/selectEntUserOrderList";
   				}else if('${enter}'!=null &&'${enter}'!=''&&'${enter}'=='ser'){
   					window.location.href="<%=request.getContextPath()%>/selectUserOrderList?user_id="+'${lists[0].server_user_id}';
   				}else{
	   			window.location.href="/htx-backer/selectOrderList";
   				}
	   		});
    	})
    </script>
</body>
</html>
